package com.woniuxy.micromedicalserver.doctormanage.mapper;


import com.woniuxy.micromedicalserver.bean.DoctorBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DoctorMapper {
    //根据id，查询
    DoctorBean selectByID(Integer ID);
    //查询所有, 传递一个接收筛选条件的DepartmentBean
    List<DoctorBean> selectAll(@Param("doctorBean") DoctorBean doctorBean);

}
